export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  searchLabelWidth: 120,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      "span": 12,
      addDisplay: false,
      editDisplay: false,
      hide: true
    },	  {
      "type": "input",
      search: true,
      searchLabelWidth: 100,
      "label": "居住人姓名",
      width: 120,
      "prop": "residentRealname",
      "span": 12
    },	  {
      "type": "input",
      "label": "部门",
      addDisplay: false,
      editDisplay: false,
      search: true,
      "prop": "residentDeptName",
      "span": 12
    },	  {
      "type": "input",
      "label": "地址",
      search: true,
      "prop": "address",
      width: 200,
      "span": 12
    },	  {
      "type": "input",
      "label": "房号",
      search: true,
      "prop": "roomNumber",
      "span": 12
    },	  {
      "type": "input",
      "label": "床位号",
      "prop": "bedNumber",
      "span": 12
    },	  {
      "type": "select",
      "label": "居住人身份",
      search: true,
      width: 120,
      "prop": "residentType",
      dicUrl: '/admin/dict/type/personnel_type',
      "span": 12
    },	  {
      "type": "select",
      "label": "房屋类型",
      search: true,
      "prop": "housingType",
      dicUrl: '/admin/dict/type/housing_type',
      "span": 12
    },	  {
      "type": "select",
      search: true,
      "label": "合同状态",
      "prop": "contractStatus",
      dicUrl: '/admin/dict/type/housing_contract_status',
      "span": 12
    },	  {
      "type": "select",
      "label": "无房证明",
      "prop": "noRoomStatus",
      dicUrl: '/admin/dict/type/housing_upload_status',
      "span": 12
    },	  {
      "type": "input",
      "label": "交付使用时间",
      width: 120,
      "prop": "leadDate",
      "span": 12
    },	  {
      "type": "input",
      "label": "室内结构",
      "prop": "structure",
      dicUrl: '/admin/dict/type/housing_structure',
      "span": 12
    },	  {
      "type": "input",
      "label": "建筑面积",
      "prop": "constructionArea",
      "span": 12
    },	  {
      "type": "input",
      "label": "套内面积",
      "prop": "usageArea",
      "span": 12
    },	  {
      "type": "input",
      "label": "分摊面积",
      "prop": "sharingArea",
      "span": 12
    },	  {
      "type": "input",
      "label": "房屋面积",
      "prop": "roomArea",
      "span": 12
    },	  {
      "type": "input",
      "label": "计租面积",
      "prop": "rentArea",
      "span": 12
    },	  {
      "type": "input",
      "label": "联系电话",
      width: 120,
      "prop": "residentPhone",
      "span": 12
    },	  {
      "type": "input",
      "label": "租住期限",
      width: 120,
      "prop": "expireDate",
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费情况",
      search: true,
      dicUrl: '/admin/dict/type/housing_payment_status',
      "prop": "paymentStatus",
      "span": 12
    },	  {
      "type": "input",
      "label": "附件",
      "prop": "attachment",
      "span": 12,
      hide: true
    }  ]
}

export const tableOption1 = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  labelWidth: 120,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      hide: true,
      editDisplay: false,
      addDisplay: false,
      "span": 12
    } ,	  {
      "type": "input",
      "label": "缴费时间段",
      editDisplay: false,
      addDisplay: false,
      width: 200,
      slot: true,
      "prop": "timeRange",
      "span": 12
    },	  {
      "type": "date",
      "label": "缴费开始时间",
      "prop": "startDate",
      hide: true,
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: "请选择缴费开始时间",
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "缴费结束时间",
      "prop": "endDate",
      format: 'yyyy-MM-dd',
      hide: true,
      rules: [{
        required: true,
        message: "请选择缴费结束时间",
      }],
      valueFormat: 'yyyy-MM-dd',
      "span": 12
    },	  {
      "type": "number",
      "label": "缴费金额",
      rules: [{
        required: true,
        message: "请输入缴费金额",
      }],
      maxRows: 1000000,
      "prop": "paymentFee",
      "span": 12
    },	  {
      "type": "number",
      "label": "应缴金额",
      maxRows: 1000000,
      rules: [{
        required: true,
        message: "请输入应缴金额",
      }],
      "prop": "shouldFee",
      "span": 12
    },	  {
      "type": "number",
      maxRows: 1000000,
      "label": "租金",
      "prop": "rentFee",
      "span": 12
    },	  {
      "type": "number",
      maxRows: 1000000,
      "label": "滞纳金",
      "prop": "delayingFee",
      "span": 12
    },	  {
      "type": "date",
      "label": "缴费日期",
      "prop": "paymentDate",
      format: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: "请选择缴费日期",
      }],
      valueFormat: 'yyyy-MM-dd',
      "span": 12
    },	  {
      "type": "select",
      "label": "缴费情况",
      search: true,
      value: '1',
      dicUrl: '/admin/dict/type/housing_payment_status',
      "prop": "status",
      "span": 12
    },	  {
      "type": "input",
      "label": "操作人",
      editDisabled: true,
      addDisabled: true,
      "prop": "handleRealname",
      "span": 12
    },	  {
      "type": "upload",
      "label": "缴费证明资料",
      "prop": "attachment",
      accept: [],
      slot: true,
      formslot: true,
      propsHttp: {
        res: 'data',
        name: "original"
      },
      props: {
        label: "original",
        value: "url"
      },
      action: "/act/file/upload",
      listType: 'file',
      hide: true,
      "span": 24
    }  ]
}

export const tableOption2 = {
  "border": true,
  showSummary: true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  menu:false,
  sumColumnList:[
    {
			name: 'paymentFee',
			type: 'sum'
		},
		{
			name: 'shouldFee',
			type: 'sum'
		},
  ],
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      "span": 12,
      addDisplay: false,
      editDisplay: false,
      hide: true
    },	  {
      "type": "input",
      search: true,
      searchLabelWidth: 100,
      "label": "居住人姓名",
      width: 120,
      "prop": "residentRealname",
      "span": 12
     } ,	  {
        "type": "input",
        "label": "缴费时间段",
        width: 300,
        slot: true,
        "prop": "timeRange",
        "span": 12
      },	  {
        "type": "number",
        "label": "缴费金额",
        maxRows: 1000000,
        "prop": "paymentFee",
        "span": 12
      },	  {
        "type": "number",
        "label": "应缴金额",
        maxRows: 1000000,
        "prop": "shouldFee",
        "span": 12
    },	  {
      "type": "select",
      "label": "缴费情况",
      search: true,
      dicUrl: '/admin/dict/type/housing_payment_status',
      "prop": "status",
      "span": 12
    },	  {
        "type": "date",
        "label": "缴费时间",
        "prop": "paymentDate",
        "span": 12
    },	  {
      "type": "input",
      "label": "附件",
      "prop": "attachment",
      slot: true,
      "span": 12,
      hide: true
    }  ]
}

export const tableOption3 = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  menu:false,
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "id",
      "span": 12,
      addDisplay: false,
      editDisplay: false,
      hide: true
    },	  {
      "type": "input",
      "label": "原房屋类型",
      editDisabled: true,
      addDisabled: true,
      "prop": "sourceType",
      dicUrl: '/admin/dict/type/housing_type',
      "span": 12
    },	  {
      "type": "input",
      "label": "现房屋类型",
      editDisabled: true,
      dicUrl: '/admin/dict/type/housing_type',
      addDisabled: true,
      "prop": "newType",
      "span": 12
    },	  {
      "type": "input",
      "label": "处理人",
      editDisabled: true,
      addDisabled: true,
      "prop": "handleRealname",
      "span": 12
    },	  {
      "type": "input",
      "label": "处理时间",
      editDisabled: true,
      addDisabled: true,
      "prop": "createTime",
      "span": 12
    }  ]
}

